MCPcopy Create free account
hub / github.com/cryptonomex/graphene / validate

Method validate

libraries/chain/protocol/transfer.cpp:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33
34void transfer_operation::validate()const
35{
36 FC_ASSERT( fee.amount >= 0 );
37 FC_ASSERT( from != to );
38 FC_ASSERT( amount.amount > 0 );
39}
40
41
42

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected