OSDN Git Service

init finalizeTx
authorHAOYUatHZ <haoyu@protonmail.com>
Fri, 21 Jun 2019 07:27:23 +0000 (15:27 +0800)
committerHAOYUatHZ <haoyu@protonmail.com>
Fri, 21 Jun 2019 07:27:23 +0000 (15:27 +0800)
federation/warder.go

index 22e846d..4e4c407 100644 (file)
@@ -373,6 +373,10 @@ func (w *warder) isLeader() bool {
        return w.position == 1
 }
 
+func (w *warder) finalizeTx(destTx interface{}, signersSigns [][][]byte) error {
+       return nil
+}
+
 func (w *warder) submitTx(destTx interface{}) (string, error) {
        switch tx := destTx.(type) {
        case *btmTypes.Tx: