mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 06:52:36 +01:00
Remove redundant MakeUCharSpan wrappers
This commit is contained in:
parent
faf4aa2f47
commit
fa29272459
1 changed files with 5 additions and 5 deletions
|
@ -1344,7 +1344,7 @@ static RPCHelpMan combinepsbt()
|
||||||
|
|
||||||
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||||||
ssTx << merged_psbt;
|
ssTx << merged_psbt;
|
||||||
return EncodeBase64(MakeUCharSpan(ssTx));
|
return EncodeBase64(ssTx);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1483,7 +1483,7 @@ static RPCHelpMan createpsbt()
|
||||||
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||||||
ssTx << psbtx;
|
ssTx << psbtx;
|
||||||
|
|
||||||
return EncodeBase64(MakeUCharSpan(ssTx));
|
return EncodeBase64(ssTx);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1552,7 +1552,7 @@ static RPCHelpMan converttopsbt()
|
||||||
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||||||
ssTx << psbtx;
|
ssTx << psbtx;
|
||||||
|
|
||||||
return EncodeBase64(MakeUCharSpan(ssTx));
|
return EncodeBase64(ssTx);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1643,7 +1643,7 @@ static RPCHelpMan utxoupdatepsbt()
|
||||||
|
|
||||||
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||||||
ssTx << psbtx;
|
ssTx << psbtx;
|
||||||
return EncodeBase64(MakeUCharSpan(ssTx));
|
return EncodeBase64(ssTx);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1739,7 +1739,7 @@ static RPCHelpMan joinpsbts()
|
||||||
|
|
||||||
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||||||
ssTx << shuffled_psbt;
|
ssTx << shuffled_psbt;
|
||||||
return EncodeBase64(MakeUCharSpan(ssTx));
|
return EncodeBase64(ssTx);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue