Beispiel #1
0
 public SignedTx SignStObject(StObject tx)
 {
     tx.SetFlag(CanonicalSigFlag);
     tx[Field.SigningPubKey] = _keyPair.CanonicalPubBytes();
     tx[Field.TxnSignature]  = _keyPair.Sign(tx.SigningData());
     return(ValidateAndEncode(tx));
 }