@@ -38,11 +38,9 @@ const (
3838 // then finalize to place the necessary signatures in the transaction.
3939 SendStateAnchorSign
4040
41- // SendStateLogCommit is the final in memory state. In this state,
42- // we'll extract the signed transaction from the PSBT and log the
43- // transfer information to disk. At this point, after a restart, the
44- // transfer can be resumed.
45- SendStateLogCommit
41+ // SendStateStorePreBroadcast is the state in which the finalized fully
42+ // signed transaction is written to persistent storage before broadcast.
43+ SendStateStorePreBroadcast
4644
4745 // SendStateBroadcast broadcasts the transfer transaction to the
4846 // network, and imports the taproot output back into the wallet to
@@ -78,8 +76,8 @@ func (s SendState) String() string {
7876 case SendStateAnchorSign :
7977 return "SendStateAnchorSign"
8078
81- case SendStateLogCommit :
82- return "SendStateLogCommit "
79+ case SendStateStorePreBroadcast :
80+ return "SendStateStorePreBroadcast "
8381
8482 case SendStateBroadcast :
8583 return "SendStateBroadcast"
@@ -381,7 +379,7 @@ func (p *PreAnchoredParcel) pkg() *sendPackage {
381379 // commitment.
382380 return & sendPackage {
383381 Parcel : p ,
384- SendState : SendStateLogCommit ,
382+ SendState : SendStateStorePreBroadcast ,
385383 VirtualPackets : p .virtualPackets ,
386384 PassiveAssets : p .passiveAssets ,
387385 AnchorTx : p .anchorTx ,
0 commit comments