mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-08-23 17:47:29 +00:00
Make tests compile after API change.
This commit is contained in:
parent
29fef9ffd2
commit
ec0d84882a
1 changed files with 3 additions and 3 deletions
|
@ -203,7 +203,7 @@ func TestTxStore(t *testing.T) {
|
||||||
{
|
{
|
||||||
name: "insert unconfirmed signed tx",
|
name: "insert unconfirmed signed tx",
|
||||||
f: func(s *Store) (*Store, error) {
|
f: func(s *Store) (*Store, error) {
|
||||||
r, err := s.InsertSignedTx(TstSpendingTx, nil)
|
r, err := s.InsertSignedTx(TstSpendingTx, time.Now(), nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -221,7 +221,7 @@ func TestTxStore(t *testing.T) {
|
||||||
{
|
{
|
||||||
name: "insert unconfirmed signed tx again",
|
name: "insert unconfirmed signed tx again",
|
||||||
f: func(s *Store) (*Store, error) {
|
f: func(s *Store) (*Store, error) {
|
||||||
r, err := s.InsertSignedTx(TstSpendingTx, nil)
|
r, err := s.InsertSignedTx(TstSpendingTx, time.Now(), nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -280,7 +280,7 @@ func TestTxStore(t *testing.T) {
|
||||||
{
|
{
|
||||||
name: "confirmed signed tx",
|
name: "confirmed signed tx",
|
||||||
f: func(s *Store) (*Store, error) {
|
f: func(s *Store) (*Store, error) {
|
||||||
r, err := s.InsertSignedTx(TstSpendingTx, TstSignedTxBlockDetails)
|
r, err := s.InsertSignedTx(TstSpendingTx, TstSignedTxBlockDetails.Time, TstSignedTxBlockDetails)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue